package com.yao.club.entity.request;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 选择商品sku计算优惠券最大优惠
 */
@Getter
@Setter
public class OrderCouponMaxDisRequest {
    private String payWay; // 付款方式（full-全款支付，deposit-定金，配件-全额支付 整车根据选择情况）,默认全款支付,非必填
    private List<GoodsSkuDtoParam> goodsSkuDto;
    private List<String> couponCodes; //使用的优惠券
    private String businessType; // 业务类型(normal-普通商品,seckill-秒杀商品 activity-活动商品可传值），默认普通商品，非必填
    @Getter
    @Setter
    static class CouponBusinessTypes {
        public static final String NORMAL = "normal";
        public static final String SECKILL = "seckill";
        public static final String ACTIVITY = "activity";
    }
    @Getter
    @Setter
    public class GoodsSkuDtoParam {
        private Long goodsSkuId;
        private Long dataId; // Optional field
        private int number;
    }
}




